
// 按需引入图标 用于路由菜单配置中
import {
  Cloudy,
  Apple,
  HomeFilled
} from '@element-plus/icons-vue'

const dictIcon = {
  'Cloudy': Cloudy,
  'Apple': Apple,
  'HomeFilled': HomeFilled
}

const installIcon = (app) => {
  // 便于模板获取
  app.config.globalProperties.$dictIcon = dictIcon
  // 使用全部图标
  // app.config.globalProperties.$icon = Icons
}

export default installIcon